<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body ng-app="myApp">
		
		<div id="" ng-controller="firstCntl">
			
			<div ng-click="alertOne()">show 1</div>
			
			
		</div>
		
		<script src="../../../js/angular1.0.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var myApp = angular.module('myApp',[]);
			
			myApp.provider('fisrtProvider',function(){
				
				this.$get = function (){
					return {
						foo:function(){
							console.log(1)
						},
						age:12
					}
				}
				
			});
			
			
			var firstCntl = function($scope,fisrtProvider){
				console.log(fisrtProvider)
			}
			
		</script>
	</body>
</html>